package com.four.basicinfo.service;

import com.four.basicinfo.entity.User;

import java.util.List;

public interface UserService {
    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */

    public User login(String username,String password);

    public Boolean adduser(User user);

    /**
     * 用户分页查询
     */

    /*public PageResult getUsers(int page,int pagesize);*/
    public List<User> getUsers(User user);

    public Boolean updateById(Integer id,String role,String islock);

    public Boolean updatepass(String username,String password );

    Boolean delById(Integer id);
}
